package com.thinkgem.jeesite.modules.fantasy.dao;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.modules.fantasy.entity.Property;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PropertyDao extends CrudDao<Property> {
	//根据用户userid查询对应属性
	Property getPropByUserId(String userid);
	//根据用户传递的属性修改对应的属性值
	int modifyProperty(Property property);
	//提高用户的属性值上限
	int upgradePropertyTop(Property property);
}
